<?php
session_start();
if(!empty($_SESSION) && (@$_SESSION['is_login'] != false)){
    echo '<strong>'.$_SESSION['alias'].'</strong>';
	echo '已经登录,请勿重复操作...';
	echo '<meta http-equiv="refresh" content="3,url=../../index.php">';
	exit();
}
?>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" class=" widthauto">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>注册</title>
	<meta name = "keywords" content="注册">
	<meta name = "description" content="注册">
	
	<link rel="stylesheet" type="text/css" href="./css/style_3_common.css">
	<link rel="stylesheet" type="text/css" href="./css/style_3_member_register.css">
	<!--首页不显示宽屏(gfan)-->
	<link rel="stylesheet" id="css_widthauto" type="text/css" href="./css/style_3_widthauto.css">
	<!--插件全局js(gfan)-->
	<link rel="stylesheet" type="text/css" id="gfan_css" href="./css/gfan_bbs.css">

	<style type="text/css">
    
	.baidu-yunfujian-default {
		display: inline-block;
		width: 20px;
		height: 0;
		padding-top: 20px;
		overflow: hidden;
		background-position: 1px -46px;
	}
	/* discuz */
    
	.b1r .baidu-yunfujian {
		background-position: 5px 3px !important;
	}
    
	.b2r .baidu-yunfujian {
		background-position: 1px -46px !important;
	}
    
	.fpd .baidu-yunfujian {
		background-position: 1px -46px !important;
	}
	/* wordpress */
    
	#content_toolbargroup .baidu-yunfujian {
		background-position: 1px -80px !important
	}
	* {
		margin: 0px;
		padding: 0px;
	}
	.main-body {
		width: 960px;
		margin: 25px auto;
	}
	</style>

    
</head>

<body id="nv_member" class="pg_register">

	<div id="wp" class="main-body">
		<div id="ct" class="ptm wp cl">
			<div class="mn">
				<div class="bm" id="main_message">
					<div class="bm_h bbs" id="main_hnav">
						<span class="y"><a href="../login/index.php" class="xi2">已有帐号？现在登录</a></span>
						<h3  id="layer_reginfo_t" class="xs2"><a href="../../index.php">首页</a>&nbsp;<em>></em>&nbsp;注册</h3>
					</div>
					<p id="returnmessage4"></p>
					<form method="POST" autocomplete="off" name="register" id="registerform" enctype="multipart/form-data"  action="./register.php">
						<div id="layer_reg" class="bm_c">
							<div class="mtw">
								<div id="reginfo_a">
									<div class="rfm">
										<table>
											<tbody>
												<tr>
													<th><span class="rq">*</span>
														<label for="username11">用户名:</label>
													</th>
													<td>
														<input type="text" id="username11" name="account" class="px" tabindex="1" autocomplete="off" size="25" maxlength="15" required="">
														<span style="color:rgb(220,220,220);font-size:10px">用于登录</span>
													</td>
												</tr>
											</tbody>
										</table>
									</div>
									<div class="rfm">
										<table>
											<tbody>
												<tr>
													<th><span class="rq">*</span>
														<label for="password24">密码:</label>
													</th>
													<td>
														<input type="password" id="password24" name="password" size="25" tabindex="1" class="px" required="">
													</td>
												</tr>
											</tbody>
										</table>
									</div>
									<div class="rfm">
										<table>
											<tbody>
												<tr>
													<th><span class="rq">*</span>
														<label for="password3">确认密码:</label>
													</th>
													<td>
														<input type="password" id="password3" name="password2" size="25" tabindex="1" value="" class="px" required="">
													</td>
												</tr>
											</tbody>
										</table>
									</div>
									<div class="rfm">
										<table>
											<tbody>
												<tr>
													<th><span class="rq">*</span>
														<label for="email4">Email:</label>
													</th>
													<td>
														<input type="text" id="email4" name="email" autocomplete="off" size="25" tabindex="1" class="px" value="" required="">
														<br><em id="emailmore">&nbsp;</em>
													</td>
												</tr>
											</tbody>
										</table>
									</div>
									<div class="rfm">
										<table>
											<tbody>
												<tr>
													<th><span class="rq"></span>
														<label for="truename">姓名:</label>
													</th>
													<td>
														<input type="text" name="alias" autocomplete="off" size="25" tabindex="1" class="px">
														<span style="color:rgb(220,220,220);font-size:10px">便于别人记住你</span>
														<br><em id="truenamemore">&nbsp;</em>
													</td>
												</tr>
											</tbody>
										</table>
									</div>
									<input name="sechash" type="hidden" value="S0">
									<div class="rfm">
										<table>
											<tbody>
												<tr>
													<th><span class="rq">*</span>验证码: </th>
													<td>
														<input name="register_validate_code" id="seccodeverify_S0" type="text" autocomplete="off" style="ime-mode:disabled;width:100px" class="txt px vm" tabindex="1">
														<span id="checkseccodeverify_S0"><img src="./image/none.gif" width="16" height="16" class="vm"></span>
														<br>
														<span id="seccode_S0">请输入下面动画图片中的字符<br>
															<img width="150" height="50" src="../../common/make_code.php?codeType=register" class="vm" alt="点击图片切换" onclick="this.src='../../common/make_code.php?codeType=register&'+Date.now();" style="cursor: pointer;">
														</span>
													</td>
												</tr>
											</tbody>
										</table>
									</div>
								</div>
							</div>
						</div>
						<div id="layer_reginfo_b">
							<div class="rfm mbw bw0">
								<table width="100%">
									<tbody>
										<tr>
											<th>&nbsp;</th>
											<td>
												<span id="reginfo_a_btn">
													<em>&nbsp;</em>
													<button class="pn pnc" id="registerformsubmit" type="submit" name="regsubmit" value="true" tabindex="1"><strong>提交</strong></button>
													<input type="checkbox" class="pc" name="agreebbrule" value="9c827808" id="agreebbrule" checked="checked">
													<label for="agreebbrule">同意<a href="javascript:;" onclick="showBBRule()">网站服务条款</a></label>
												</span>
											</td>
											<td></td>
										</tr>
									</tbody>
								</table>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
     
</body>

</html>
